package com.example.jucdemo.waitnotify.dmeo2;

import java.sql.PseudoColumnUsage;

/**
 * @Author by KoVaVo
 * @Date 2023-05-20 19:28
 * @Desc: test
 */
public class code06 {

    public static void main(String[] args) {
        String lock = new String("");

        code02_Producer producer = new code02_Producer(lock);
        code03_Consumer consumer = new code03_Consumer(lock);

        code04_ThreadA threadA = new code04_ThreadA(producer);
        code05_ThreadB threadB = new code05_ThreadB(consumer);

        threadA.start();
        threadB.start();
    }
}
